<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>AutoSDK: Navinfo::Engine::MatchResultSegment Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">AutoSDK
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_navinfo.html">Navinfo</a></li><li class="navelem"><a class="el" href="namespace_navinfo_1_1_engine.html">Engine</a></li><li class="navelem"><a class="el" href="struct_navinfo_1_1_engine_1_1_match_result_segment.html">MatchResultSegment</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="struct_navinfo_1_1_engine_1_1_match_result_segment-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Navinfo::Engine::MatchResultSegment Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Segment of match result.  
 <a href="struct_navinfo_1_1_engine_1_1_match_result_segment.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_data_matcher_8hpp_source.html">DataMatcher.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ab94f84ffd84543236321d4b11c83c5ad"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab94f84ffd84543236321d4b11c83c5ad"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_navinfo_1_1_engine_1_1_match_result_segment.html#ab94f84ffd84543236321d4b11c83c5ad">m_SegmentOrder</a></td></tr>
<tr class="memdesc:ab94f84ffd84543236321d4b11c83c5ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Match order of this segment. <br /></td></tr>
<tr class="separator:ab94f84ffd84543236321d4b11c83c5ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0b3bb502facf97fdafd012fe6266d4e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af0b3bb502facf97fdafd012fe6266d4e"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_navinfo_1_1_engine_1_1_match_result_segment.html#af0b3bb502facf97fdafd012fe6266d4e">m_IsStartFromLink</a></td></tr>
<tr class="memdesc:af0b3bb502facf97fdafd012fe6266d4e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether start from link. <br /></td></tr>
<tr class="separator:af0b3bb502facf97fdafd012fe6266d4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a428c9f0142d775ba616e4ca52c341d6c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a428c9f0142d775ba616e4ca52c341d6c"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_navinfo_1_1_engine_1_1_match_result_segment.html#a428c9f0142d775ba616e4ca52c341d6c">m_IsEndToLink</a></td></tr>
<tr class="memdesc:a428c9f0142d775ba616e4ca52c341d6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether end to link. <br /></td></tr>
<tr class="separator:a428c9f0142d775ba616e4ca52c341d6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac59b18e8edec7c3cb032c8233c4a24fe"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac59b18e8edec7c3cb032c8233c4a24fe"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_navinfo_1_1_engine_1_1_match_result_segment.html#ac59b18e8edec7c3cb032c8233c4a24fe">m_FirstLinkLength</a></td></tr>
<tr class="memdesc:ac59b18e8edec7c3cb032c8233c4a24fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used length of the first link, calculate forward from start point of travel direction. <br /></td></tr>
<tr class="separator:ac59b18e8edec7c3cb032c8233c4a24fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a211f86b2efb0fca2155ecec5c48db8dc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a211f86b2efb0fca2155ecec5c48db8dc"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_navinfo_1_1_engine_1_1_match_result_segment.html#a211f86b2efb0fca2155ecec5c48db8dc">m_LastLinkLength</a></td></tr>
<tr class="memdesc:a211f86b2efb0fca2155ecec5c48db8dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used length of the last link, calculate backward from end point of travel direction. <br /></td></tr>
<tr class="separator:a211f86b2efb0fca2155ecec5c48db8dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac01219181c758de1bc4a69b292f27ab4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac01219181c758de1bc4a69b292f27ab4"></a>
<a class="el" href="struct_navinfo_1_1_engine_1_1_pos3_d.html">Pos3D</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_navinfo_1_1_engine_1_1_match_result_segment.html#ac01219181c758de1bc4a69b292f27ab4">m_StartPoint</a></td></tr>
<tr class="memdesc:ac01219181c758de1bc4a69b292f27ab4"><td class="mdescLeft">&#160;</td><td class="mdescRight">The start point, if not start from link. <br /></td></tr>
<tr class="separator:ac01219181c758de1bc4a69b292f27ab4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa885b9be44c195d6ebb1614cf914edd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaa885b9be44c195d6ebb1614cf914edd"></a>
<a class="el" href="struct_navinfo_1_1_engine_1_1_pos3_d.html">Pos3D</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_navinfo_1_1_engine_1_1_match_result_segment.html#aaa885b9be44c195d6ebb1614cf914edd">m_EndPoint</a></td></tr>
<tr class="memdesc:aaa885b9be44c195d6ebb1614cf914edd"><td class="mdescLeft">&#160;</td><td class="mdescRight">The end point, if not end to link. <br /></td></tr>
<tr class="separator:aaa885b9be44c195d6ebb1614cf914edd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e181e5aed0e02343b60ac67fe67201c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e181e5aed0e02343b60ac67fe67201c"></a>
std::vector&lt; <a class="el" href="struct_navinfo_1_1_engine_1_1_directed_link_i_d.html">DirectedLinkID</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_navinfo_1_1_engine_1_1_match_result_segment.html#a7e181e5aed0e02343b60ac67fe67201c">m_LinkSequence</a></td></tr>
<tr class="memdesc:a7e181e5aed0e02343b60ac67fe67201c"><td class="mdescLeft">&#160;</td><td class="mdescRight">All matched links. <br /></td></tr>
<tr class="separator:a7e181e5aed0e02343b60ac67fe67201c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Segment of match result. </p>
<p>Segment is a part of match result. It contains matched link sequence with some descriptions. The order in link sequence vector only means matching order. It doesn't reveal route connectivity. Consider different input and matching process, the segment can start/end with link or point. Use m_IsStartFromLink and m_IsEndToLink to check whether the segment start/end with link. If not, m_StartPoint and m_EndPoint represent the start/end point.</p>
<p>Each segment has a segment order. This can be used to check with previous segment order to decide the type of this segment.</p><ul>
<li>If greater than previous, means this segment is the NEXT of previous segment in the whole match result.</li>
<li>If same with previous, means this segment is just an CANDIDATE to previous segment. Which means, normally, only one candidates should be used, depending on cases. </li>
</ul>
</div><hr/>The documentation for this struct was generated from the following file:<ul>
<li>/home/work/workspace/autosdk-integration-release/interfaces/public/<a class="el" href="_data_matcher_8hpp_source.html">DataMatcher.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
